function restlog(...args){
    let arr = [1,2,3];
    console.log(...arr);
    console.log(...args);
}

restlog(1,2,5,724,12);